<template>
  <div class="swipe-container">
    <div class="swipe">
      <div class="handle"></div>
    </div>
  </div>
</template>

<script>
export default {
  
}
</script>

<style scoped>
.swipe-container {
  display: none;
  position: absolute;
  opacity: 0.8;
  width: 24px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0); 
  z-index: 1;
  background-color: rgba(50, 50, 50, 0.5);
  cursor: col-resize; 
  user-select: none;
}
.swipe-container:hover {
  opacity: 0.5;
}
.swipe {
  box-sizing: border-box;
  border: solid 1px #000;
  height: 100%;
  width: 0px;
  margin: 0 auto;
}
.swipe .handle {
  width: 50px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  margin-top: -16px;
  margin-left: -25px;
  top: 50%;
  left: 50%;
  position: absolute;
  display: flex;
  justify-content: space-around;
  z-index: 30;
  font-family: "CalciteWebCoreIcons";
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-indent: 0;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: black;
  color: white;
  opacity: 0.9;
}
.handle:before, .handle:after {
  content: "\0399\0399\0399";
  width: 20px;
  height: 32px;
  line-height: 32px;
}
</style>